PG fix for listusers
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 14 Sep 2009 16:42:11 +0000 (16:42 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 14 Sep 2009 16:42:11 +0000 (16:42 +0000)
includes/specials/SpecialListusers.php

index c00687a..88c1fff 100644 (file)
@@ -107,7 +107,7 @@ class UsersPager extends AlphabeticPager {
                                'COUNT(ug_group) AS numgroups',
                                'MAX(ug_group) AS singlegroup', // the usergroup if there is only one
                                'MIN(user_registration) AS creation',
-                               'ipb_deleted' // block/hide status
+                               'MAX(ipb_deleted) AS ipb_deleted' // block/hide status
                        ),
                        'options' => array('GROUP BY' => $this->creationSort ? 'user_id' : 'user_name'),
                        'conds' => $conds